<?php

class jd_changesals_model extends MY_Model {


    public function __construct()
    {
        $this->modelename='jd_changesals_model';
        $this->tablename='changesals';
        parent::__construct();
    }

    public function UpdateStatus($id,$Status){
        $sql="update  jd_changesals  set `status`= $Status where id =$id";
        return $r= $this->db->query($sql);
    }
}
